New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Rotations #114
Add Rotations #114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rest looks good to me.
I had already told him this, but basically PGMMapOrderProvider is the only interface that the general code should be using. methods like "getRotationManager" assume there's a rotation, when there may not be one (eg: random map ordering, or voting based next map). The rotation commands should be testing if matchManager.getMapOrder() is instance of a RotationManager, and if it isn't, just inform the user a rotation isn't in use. Then commands like /setnext or /next can use directly the PGMMapOrderProvider interface as that's all they need to interact with |
Oke, I have implemented them the way you have requested me to: fe83e3a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So close @BGMP. Can you remove the System.out.println
and change next_map
to nextMap
and I'll merge it up 🎉
@BGMP Go ahead and look at @Pablete1234's suggestions first |
@Electroid I am. Almost done |
Signed-off-by: Pugzy <pugzy@mail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: ThatOneTqnk <nodeadbatteries@gmail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: botinator <53882853+botinator@users.noreply.github.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Pablete1234 <pabloherrerapalacio@gmail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: botinator <53882853+botinator@users.noreply.github.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
…operly Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Pugzy <pugzy@mail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Ashcon Partovi <ashcon@partovi.net> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Ashcon Partovi <ashcon@partovi.net> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Ashcon Partovi <ashcon@partovi.net> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Brottweiler <brottsie@gmail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
…LOBAL Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Meeples10 <8867705+Meeples10@users.noreply.github.com> Signed-off-by: BGM <bgmp00@protonmail.com>
…ions.yml Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: botinator <53882853+botinator@users.noreply.github.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Co-Authored-By: Pablo Herrera <pabloherrerapalacio@gmail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Co-Authored-By: Pablo Herrera <pabloherrerapalacio@gmail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: Pugzy <pugzy@mail.com> Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Signed-off-by: BGM <bgmp00@protonmail.com>
Blame DCO for the mess |
Signed-off-by: BGM <bgmp00@protonmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR was merged already, but still those 2 minor changes should be made. Good job for getting this feature finished tho
Did my best to implement them correctly.